package com.qfedu.hotelssm.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author truman
 * @date 2022/9/1
 * @description 绩效数据转换类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PerformanceDto {
    @ExcelIgnore
    private Integer id;//绩效编号
    @ExcelProperty(value = "员工编号")
    private Integer eid;//员工编号
    private String ename;//员工名称
    @ExcelProperty(value = "年度")
    private Integer year;//年度
    @ExcelProperty(value = "月度")
    private Integer month;//月度
    @ExcelProperty(value = "绩效值")
    private Double pscore;//绩效值
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+16")
    private Date ctime;//创建时间
}
